Rewritten XendLogging to not be a singleton class, and not have methods used
authoremellor@ewan <emellor@ewan>
Mon, 10 Oct 2005 15:15:48 +0000 (16:15 +0100)
committeremellor@ewan <emellor@ewan>
Mon, 10 Oct 2005 15:15:48 +0000 (16:15 +0100)
commitdc988367d85b873d0fb292dbfc04cbf0c2134ab3
tree538bc04375d26d50eb14f38a23a2409751f0db8c
parent5910d2c4608435ea13a95f2955496a0cdb8d97a9
Rewritten XendLogging to not be a singleton class, and not have methods used
from nowhere at all.

Log to a temporary file if permission is denied to log to /var/log/xend.log,
as happens when you are not root.  Fixes bug #305.

Remove all the log-related garbage from XendRoot -- just about every module
was going straight to XendLogging.log already, so there was no need to have
XendRoot replicate this functionality.

Remove XendRoot.event_handler, which hasn't been in use since the EventServer
was removed.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendLogging.py
tools/python/xen/xend/XendRoot.py
tools/python/xen/xend/server/SrvXendLog.py
tools/python/xen/xend/server/event.py